package org.xxpay.service.dao.mapper;
import org.xxpay.core.entity.ChannelAgentMchInfo;
import org.xxpay.core.entity.ChannelAgentMchInfoExample;
import org.xxpay.core.entity.ChannelMchInfo;
import org.xxpay.core.entity.ChannelMchInfoExample;

import java.util.List;

public interface ChannelAgentMchInfoMapper {
    int countByExample(ChannelAgentMchInfoExample example);

//    int deleteByExample(AgentInfoExample example);
//
    int deleteByPrimaryKey(Long channelAgentMchId);
//
//    int insert(AgentInfo record);
//
    int insertSelective(ChannelAgentMchInfo  record);
//
    List<ChannelAgentMchInfo> selectByExample(ChannelAgentMchInfoExample example);
    List<ChannelAgentMchInfo> selectByChannelAgentMchLevel(Byte channelAgentMchLevel);
//
    ChannelAgentMchInfo selectByPrimaryKey(Long channelAgentMchId);
//
//    int updateByExampleSelective(@Param("record") AgentInfo record, @Param("example") AgentInfoExample example);
//
//    int updateByExample(@Param("record") AgentInfo record, @Param("example") AgentInfoExample example);
//
    int updateByPrimaryKeySelective(ChannelAgentMchInfo record);
//
//    int updateByPrimaryKey(AgentInfo record);
//
//    /**
//     * 统计代理商信息
//     * @param param
//     * @return
//     */
//    Map count4Agent(Map param);
//
//    /**
//     * 查询总代理下的二级代理列表
//     */
//    List<Map> selectInfoAndAccount(Map param);
}